﻿Public Class frmItem

    Private Sub OItemBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OItemBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.OItemBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.DataSet1)

    End Sub

    Private Sub frmItem_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'DataSet1.oCompany' table. You can move, or remove it, as needed.
        Me.OCompanyTableAdapter.Fill(Me.DataSet1.oCompany)
        'TODO: This line of code loads data into the 'DataSet1.oItem' table. You can move, or remove it, as needed.
        Me.OItemTableAdapter.Fill(Me.DataSet1.oItem)

    End Sub
End Class